//
//  LogSelectView.h
//  StationManager
//
//  Created by 张佳强 on 18/5/12.
//  Copyright © 2018年 Helong. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ValuePickerView.h"

@protocol LogSelectDelegate <NSObject>

-(void)sendStationName:(NSString *)name type:(NSString *)type city:(NSString *)city startTime:(NSString *)startTime endTime:(NSString *)endTime;

@end

@interface LogSelectView : UIView<UITableViewDelegate,UITableViewDataSource>

@property (nonatomic , strong) UILabel *stationNameLabel;
@property (nonatomic , strong) UITextField *stationNameTF;
@property (nonatomic , strong) UILabel *taskTypeLabel;
@property (nonatomic , strong) UIButton *taskTypeButton;
@property (nonatomic , strong) UILabel *cityLabel;
@property (nonatomic , strong) UIButton *cityButton;
@property (nonatomic , strong) UILabel *startDateLabel;
@property (nonatomic , strong) UITextField *startDateTF;
@property (nonatomic , strong) UILabel *endDateLabel;
@property (nonatomic , strong) UITextField *endDateTF;
@property (nonatomic , strong) UIButton *threeDaysButton;
@property (nonatomic , strong) UIButton *sevenDaysButton;
@property (nonatomic , strong) UIButton *searchButton;
//日期选择器
@property (nonatomic , strong) UIDatePicker * datePicker;
//日期选择器
@property (nonatomic , strong) UIDatePicker * datePicker2;
@property (nonatomic , strong) UITableView *taskTypeTableView;
@property (nonatomic , copy) NSArray *taskTypeArray;
//@property (nonatomic , strong) UITableView *cityTableView;
@property (nonatomic , strong) NSMutableArray *cityArray;
//选择器
@property (nonatomic , strong) ValuePickerView * pickerView;
@property (nonatomic , weak) id<LogSelectDelegate> logSelectDelegate;
@property (nonatomic , strong) NSString *cityID;
@end
